package com.xiaoshuidi.cloud.module.finance.api.finance.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * 退租/换租/续租结转账单费用明细
 */
@Data
public class CarryForwardDTO {
    /**
     * 关联id
     */
    @Schema(description = "关联id")
    private String sourceBizId;
    /**
     * 结转金额
     */
    @Schema(description = "结转金额")
    private BigDecimal amount;
    /**
     * 结转备注
     */
    @Schema(description = "结转备注")
    private String remark;
    /**
     * 账单开始日期
     */
    @Schema(description = "账单开始日期")
    private LocalDate fromStartTime;
    /**
     * 账单结束日期
     */
    @Schema(description = "账单结束日期")
    private LocalDate fromEndTime;
    /**
     * 实际结束时期
     */
    @Schema(description = "实际结束时期")
    private LocalDate actualEndTime;
    /**
     * 结转后新房间的流水信息
     */
    @Schema(description = "结转后新房间的流水信息")
    private FinancePaymentDTO forwardTo;
}
